﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Yuangong
    {
        private int id;
        private string name;
        private string mas;

        public int Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public string Mas
        {
            get { return this.mas; }
            set { this.mas = value; }
        }

        public void aaa()
        {
            Console.WriteLine("我的工号是{0},我的姓名是{1},我的部门是{2}", this.Id, this.Name, this.Mas);
        }
        public void bbb(int Id, string Name, string Mas)
        {
            Console.WriteLine("我的工号是{0},我的姓名是{1},我的部门是{2}", Id, Name, Mas);
        }
    }
}
